<?php
/* @var $this TipodoctecController */
/* @var $model Tipodoctec */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'tipodoctec-form',
	// Please note: When you enable ajax validation, make sure the corresponding
	// controller action is handling ajax validation correctly.
	// There is a call to performAjaxValidation() commented in generated controller code.
	// See class documentation of CActiveForm for details on this.
	'enableAjaxValidation'=>false,
)); ?>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'DocTecnica'); ?>
		<?php echo $form->textField($model,'DocTecnica',array('size'=>20,'maxlength'=>20)); ?>
		<?php echo $form->error($model,'DocTecnica'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Campo01'); ?>
		<?php echo $form->textField($model,'Campo01',array('size'=>30,'maxlength'=>30)); ?>
		<?php echo $form->error($model,'Campo01'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Campo02'); ?>
		<?php echo $form->textField($model,'Campo02',array('size'=>30,'maxlength'=>30)); ?>
		<?php echo $form->error($model,'Campo02'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Campo03'); ?>
		<?php echo $form->textField($model,'Campo03',array('size'=>30,'maxlength'=>30)); ?>
		<?php echo $form->error($model,'Campo03'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Campo04'); ?>
		<?php echo $form->textField($model,'Campo04',array('size'=>30,'maxlength'=>30)); ?>
		<?php echo $form->error($model,'Campo04'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Campo05'); ?>
		<?php echo $form->textField($model,'Campo05',array('size'=>30,'maxlength'=>30)); ?>
		<?php echo $form->error($model,'Campo05'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Campo06'); ?>
		<?php echo $form->textField($model,'Campo06',array('size'=>30,'maxlength'=>30)); ?>
		<?php echo $form->error($model,'Campo06'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Campo07'); ?>
		<?php echo $form->textField($model,'Campo07',array('size'=>30,'maxlength'=>30)); ?>
		<?php echo $form->error($model,'Campo07'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Campo08'); ?>
		<?php echo $form->textField($model,'Campo08',array('size'=>30,'maxlength'=>30)); ?>
		<?php echo $form->error($model,'Campo08'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Campo09'); ?>
		<?php echo $form->textField($model,'Campo09',array('size'=>30,'maxlength'=>30)); ?>
		<?php echo $form->error($model,'Campo09'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Campo10'); ?>
		<?php echo $form->textField($model,'Campo10',array('size'=>30,'maxlength'=>30)); ?>
		<?php echo $form->error($model,'Campo10'); ?>
                <?php $model->idProj=Yii::app()->user->pidproj;       
                echo $form->hiddenField($model,'idProj'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Salvar' : 'Salvar'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->